package key2.exer3;

/**
 * @author shkstart
 * @date 2022/5/29 - 21:42
 */
public class MyDate {
    private int year;
    private int month;
    private int day;

    public MyDate(int year,int day,int month) {
        this.month = month;
        this.day = day;
        this.year = year;
    }


    public String toDateString() {
        return year + "年" + month + "月" + day + "日";
    }

    public int getDay() {
        return day;
    }

    public int getMonth() {

        return month;
    }

    public int getYear() {

        return year;
    }

    public void setDay(int day) {

        this.day = day;
    }

    public void setMonth(int month) {

        this.month = month;
    }

    public void setYear(int year) {

        this.year = year;
    }
}
